﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace XiAnAirport.Models
{
    public class DeviceDataMonitor
    {
        public string systemCode { get; set; }//所属系统编码
        public string assetCode { get; set; }//设备编码
        public string metricsTime { get; set; }//推送时间
        public DeviceData data { get; set; }//监控数据
    }

    public class DeviceData
    {
        public int runStatus { get; set; }
    }

    public class FaultProduceInfo
    {
        public string producer { get; set; }
        public string from { get; set; }
        public string bizId { get; set; }
        public string time { get; set; }
        public DeviceFaultData data { get; set; }
    }

    public class DeviceFaultData
    {
        public string alarmCode { get; set; }//告警编码
        public string assetCode { get; set; }//设备编码
        public string assetName { get; set; }//设备名称
        public string content { get; set; }//告警内容
        public string alarmLastTime { get; set; }//告警产生时间
        public string processorName { get; set; }//告警处理人名称
        public string processorCode { get; set; }//告警处理人编码
        public string alarmLevel { get; set; }//告警级别编码
        public string alarmFixTime { get; set; }//告警解除时间
        public string alarmStatus { get; set; }//告警状态编码
        public string alarmSource { get; set; }//告警来源
        public string alarmDesc { get; set; }//告警处理描述
    }

}
